[INFO] fetching crate ffigen 0.0.1...
[INFO] checking ffigen-0.0.1 against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] extracting crate ffigen 0.0.1 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate ffigen 0.0.1 on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ffigen 0.0.1
[INFO] finished tweaking crates.io crate ffigen 0.0.1
[INFO] tweaked toml for crates.io crate ffigen 0.0.1 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syntex_errors v0.59.1
[INFO] [stderr]   Downloaded syntex_pos v0.59.1
[INFO] [stderr]   Downloaded syntex_syntax v0.59.1
[INFO] [stderr]   Downloaded extprim v1.7.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a7554ed918169c89901126eef079b029bdd20d3f3200e5796197d206d5e9bab5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a7554ed918169c89901126eef079b029bdd20d3f3200e5796197d206d5e9bab5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a7554ed918169c89901126eef079b029bdd20d3f3200e5796197d206d5e9bab5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7554ed918169c89901126eef079b029bdd20d3f3200e5796197d206d5e9bab5", kill_on_drop: false }`
[INFO] [stdout] a7554ed918169c89901126eef079b029bdd20d3f3200e5796197d206d5e9bab5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc456afadf952ef2e2fb84f5e1d17a7433f1185d9c1877ed0bd5320db4b6229c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "fc456afadf952ef2e2fb84f5e1d17a7433f1185d9c1877ed0bd5320db4b6229c", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]    Compiling serde_derive v1.0.116
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]     Checking term v0.4.6
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]     Checking log v0.4.11
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling extprim v1.7.1
[INFO] [stderr]     Checking syntex_pos v0.59.1
[INFO] [stderr]     Checking toml v0.5.6
[INFO] [stderr]     Checking syntex_errors v0.59.1
[INFO] [stderr]     Checking syntex_syntax v0.59.1
[INFO] [stderr]     Checking ffigen v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `MetaItem_` in `ast`
[INFO] [stdout]   --> src/parser/source.rs:33:38
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...                   ast::MetaItem_::MetaWord(ref w) => interned_to_string(w) == "no_mangle",
[INFO] [stdout]    |                            ^^^^^^^^^ could not find `MetaItem_` in `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Parser` in `toml`
[INFO] [stdout]   --> src/parser/cargo.rs:39:30
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let config = match toml::Parser::new(&config_content).parse() {
[INFO] [stdout]    |                              ^^^^^^ not found in `toml`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use parser::source::parse::Parser;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemFn` in module `ast`
[INFO] [stdout]   --> src/parser/source.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |             ast::ItemFn(ref decl, _, _, abi, _, _) if abi == abi::C => {
[INFO] [stdout]    |                  ^^^^^^ not found in `ast`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use parser::source::visit::FnKind::ItemFn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `C` in module `abi`
[INFO] [stdout]   --> src/parser/source.rs:29:67
[INFO] [stdout]    |
[INFO] [stdout] 29 |             ast::ItemFn(ref decl, _, _, abi, _, _) if abi == abi::C => {
[INFO] [stdout]    |                                                                   ^ not found in `abi`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use Lang::C;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemMod` in module `ast`
[INFO] [stdout]   --> src/parser/source.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 51 |             ast::ItemMod(_) => {
[INFO] [stdout]    |                  ^^^^^^^ not found in `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `InternedString` in module `parse::token`
[INFO] [stdout]    --> src/parser/source.rs:115:48
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn interned_to_string(interned: &parse::token::InternedString) -> String {
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^ not found in `parse::token`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use syntex_syntax::symbol::InternedString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `MetaItem_` in `ast`
[INFO] [stdout]   --> src/parser/source.rs:33:38
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...                   ast::MetaItem_::MetaWord(ref w) => interned_to_string(w) == "no_mangle",
[INFO] [stdout]    |                            ^^^^^^^^^ could not find `MetaItem_` in `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Parser` in `toml`
[INFO] [stdout]   --> src/parser/cargo.rs:39:30
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let config = match toml::Parser::new(&config_content).parse() {
[INFO] [stdout]    |                              ^^^^^^ not found in `toml`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use parser::source::parse::Parser;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemFn` in module `ast`
[INFO] [stdout]   --> src/parser/source.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |             ast::ItemFn(ref decl, _, _, abi, _, _) if abi == abi::C => {
[INFO] [stdout]    |                  ^^^^^^ not found in `ast`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use parser::source::visit::FnKind::ItemFn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `C` in module `abi`
[INFO] [stdout]   --> src/parser/source.rs:29:67
[INFO] [stdout]    |
[INFO] [stdout] 29 |             ast::ItemFn(ref decl, _, _, abi, _, _) if abi == abi::C => {
[INFO] [stdout]    |                                                                   ^ not found in `abi`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use Lang::C;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ItemMod` in module `ast`
[INFO] [stdout]   --> src/parser/source.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 51 |             ast::ItemMod(_) => {
[INFO] [stdout]    |                  ^^^^^^^ not found in `ast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `InternedString` in module `parse::token`
[INFO] [stdout]    --> src/parser/source.rs:115:48
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn interned_to_string(interned: &parse::token::InternedString) -> String {
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^ not found in `parse::token`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use syntex_syntax::symbol::InternedString;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope
[INFO] [stdout]   --> src/parser/cargo.rs:44:37
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let package_name = match config.lookup("package.name") {
[INFO] [stdout]    |                                     ^^^^^^ method not found in `toml::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope
[INFO] [stdout]   --> src/parser/cargo.rs:44:37
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let package_name = match config.lookup("package.name") {
[INFO] [stdout]    |                                     ^^^^^^ method not found in `toml::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope
[INFO] [stdout]   --> src/parser/cargo.rs:57:33
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let lib_name = match config.lookup("lib.name") {
[INFO] [stdout]    |                                 ^^^^^^ method not found in `toml::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope
[INFO] [stdout]   --> src/parser/cargo.rs:57:33
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let lib_name = match config.lookup("lib.name") {
[INFO] [stdout]    |                                 ^^^^^^ method not found in `toml::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope
[INFO] [stdout]   --> src/parser/cargo.rs:69:35
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let crate_type = match config.lookup("lib.crate_type") {
[INFO] [stdout]    |                                   ^^^^^^ method not found in `toml::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope
[INFO] [stdout]   --> src/parser/cargo.rs:69:35
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let crate_type = match config.lookup("lib.crate_type") {
[INFO] [stdout]    |                                   ^^^^^^ method not found in `toml::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node` on type `&Attribute`
[INFO] [stdout]   --> src/parser/source.rs:32:37
[INFO] [stdout]    |
[INFO] [stdout] 32 | ...                   match v.node.value.node {
[INFO] [stdout]    |                               ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `id`, `style`, `path`, `tokens`, `is_sugared_doc`, `span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node` on type `&Attribute`
[INFO] [stdout]   --> src/parser/source.rs:32:37
[INFO] [stdout]    |
[INFO] [stdout] 32 | ...                   match v.node.value.node {
[INFO] [stdout]    |                               ^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `id`, `style`, `path`, `tokens`, `is_sugared_doc`, `span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/parser/source.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let sess = parse::ParseSess::new();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]    |                |
[INFO] [stdout]    |                expected 1 argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/parser/source.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let krate = parse::parse_crate_from_file(path, cfg, &sess);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----  ---  ----- supplied 3 arguments
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/parser/source.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let sess = parse::ParseSess::new();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments
[INFO] [stdout]    |                |
[INFO] [stdout]    |                expected 1 argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/parser/source.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let krate = parse::parse_crate_from_file(path, cfg, &sess);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----  ---  ----- supplied 3 arguments
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parser/source.rs:81:41
[INFO] [stdout]    |
[INFO] [stdout] 81 |         visit::walk_crate(&mut visitor, &krate);
[INFO] [stdout]    |                                         ^^^^^^ expected struct `syntex_syntax::ast::Crate`, found enum `std::result::Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&syntex_syntax::ast::Crate`
[INFO] [stdout]               found reference `&std::result::Result<syntex_syntax::ast::Crate, DiagnosticBuilder<'_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `DefaultReturn` found for enum `FunctionRetTy` in the current scope
[INFO] [stdout]    --> src/parser/source.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |         ast::FunctionRetTy::DefaultReturn(_) | ast::FunctionRetTy::NoReturn(_) => ReturnType::Void,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ variant or associated item not found in `FunctionRetTy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `NoReturn` found for enum `FunctionRetTy` in the current scope
[INFO] [stdout]    --> src/parser/source.rs:100:68
[INFO] [stdout]     |
[INFO] [stdout] 100 |         ast::FunctionRetTy::DefaultReturn(_) | ast::FunctionRetTy::NoReturn(_) => ReturnType::Void,
[INFO] [stdout]     |                                                                    ^^^^^^^^ variant or associated item not found in `FunctionRetTy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parser/source.rs:81:41
[INFO] [stdout]    |
[INFO] [stdout] 81 |         visit::walk_crate(&mut visitor, &krate);
[INFO] [stdout]    |                                         ^^^^^^ expected struct `syntex_syntax::ast::Crate`, found enum `std::result::Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&syntex_syntax::ast::Crate`
[INFO] [stdout]               found reference `&std::result::Result<syntex_syntax::ast::Crate, DiagnosticBuilder<'_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `DefaultReturn` found for enum `FunctionRetTy` in the current scope
[INFO] [stdout]    --> src/parser/source.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |         ast::FunctionRetTy::DefaultReturn(_) | ast::FunctionRetTy::NoReturn(_) => ReturnType::Void,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ variant or associated item not found in `FunctionRetTy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `NoReturn` found for enum `FunctionRetTy` in the current scope
[INFO] [stdout]    --> src/parser/source.rs:100:68
[INFO] [stdout]     |
[INFO] [stdout] 100 |         ast::FunctionRetTy::DefaultReturn(_) | ast::FunctionRetTy::NoReturn(_) => ReturnType::Void,
[INFO] [stdout]     |                                                                    ^^^^^^^^ variant or associated item not found in `FunctionRetTy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Return` found for enum `FunctionRetTy` in the current scope
[INFO] [stdout]    --> src/parser/source.rs:101:29
[INFO] [stdout]     |
[INFO] [stdout] 101 |         ast::FunctionRetTy::Return(ref r) => ReturnType::Type(translate_type(r))
[INFO] [stdout]     |                             ^^^^^^ variant or associated item not found in `FunctionRetTy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Return` found for enum `FunctionRetTy` in the current scope
[INFO] [stdout]    --> src/parser/source.rs:101:29
[INFO] [stdout]     |
[INFO] [stdout] 101 |         ast::FunctionRetTy::Return(ref r) => ReturnType::Type(translate_type(r))
[INFO] [stdout]     |                             ^^^^^^ variant or associated item not found in `FunctionRetTy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/marshal/mod.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let allocated = libc::malloc(translated.len() as u64 + 1) as *mut u8;
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u64`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert an `u64` to `usize` and panic if the converted value wouldn't fit
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let allocated = libc::malloc((translated.len() as u64 + 1).try_into().unwrap()) as *mut u8;
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/marshal/mod.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let allocated = libc::malloc(translated.len() as u64 + 1) as *mut u8;
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u64`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert an `u64` to `usize` and panic if the converted value wouldn't fit
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let allocated = libc::malloc((translated.len() as u64 + 1).try_into().unwrap()) as *mut u8;
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0425, E0433, E0531, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0425, E0433, E0531, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ffigen`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "fc456afadf952ef2e2fb84f5e1d17a7433f1185d9c1877ed0bd5320db4b6229c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc456afadf952ef2e2fb84f5e1d17a7433f1185d9c1877ed0bd5320db4b6229c", kill_on_drop: false }`
[INFO] [stdout] fc456afadf952ef2e2fb84f5e1d17a7433f1185d9c1877ed0bd5320db4b6229c
